package com.information.manage.basic.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("部门树")
public class DepartmentTreeVO implements Serializable {

    @ApiModelProperty("部门id")
    private Integer id;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("部门父id")
    private Integer parentId;

    @ApiModelProperty("顺序")
    private Integer sequence;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "负责人姓名")
    private String leadingStaff;

    @ApiModelProperty(value = "负责人id")
    private Long leadingId;

    @ApiModelProperty("子部门集合")
    private List<DepartmentTreeVO> departmentTreeVOList;

}
